package com.example.blogsystem_ssm.mapper;

import com.example.blogsystem_ssm.model.Blog;
import com.example.blogsystem_ssm.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AuthorInfoMapper {
    Blog getBlog(@Param("blogId") Integer blogId);

    User selectById(@Param("userId") Integer userId);
}
